#ifndef RTOBJECT_H
#define RTOBJECT_H

#include <QObject>
#include <QString>
#include <QTextStream>

class RTObject : public QObject
{
    Q_OBJECT
    public:

        RTObject(QObject *parent = 0);

        float min[3];
        float max[3];

        virtual void calcBoundingBox() = 0;
        virtual QString getType() = 0;

        QString filename;

    protected:
    
        virtual void readContent() = 0;
        QString readLine(QTextStream& stream);
};

#endif // RTOBJECT_H
